// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 
0247: load_model #FCR900 
0247: load_model #VLA2

:Noname_11
0001: wait 0 ms 
00D6: if 
0ADC:   test_cheat "OOPS" 
004D: jump_if_false @Noname_11 
//jump @Noname_340
0001: wait 0 ms 
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 50.0 0.0 5.0 
02C1: store_to 1@ 2@ 3@ car_path_coords_closest_to 1@ 2@ 3@ 
04C4: store_coords_to 14@ 15@ 16@ from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0 
02C1: store_to 1@ 2@ 3@ car_path_coords_closest_to 1@ 2@ 3@ 
00A5: $4 = create_car #FCR900 at 1@ 2@ 3@ 
0229: set_car $4 primary_color_to 54 secondary_color_to 37 
0129: 28@ = create_actor_pedtype 7 model #VLA2 in_car $4 driverseat 
0224: set_car $4 health_to 5000 
00A8: set_car $4 to_psycho_driver 
00A9: set_car $4 to_normal_driver 
020A: set_car $4 door_status_to 1 
00AE: set_car $4 traffic_behaviour_to 2 
00AF: set_car $4 driver_behaviour_to 1 
00AE: set_car $4 traffic_behaviour_to 2 
00AD: set_car $4 max_speed_to 100.0 
0ABE:   vehicle $4 engine_on 
0001: wait 2000 ms 
03AB: set_car $4 strong 1 
020A: set_car $4 door_status_to 4 
0001: wait 4000 ms 
009B: destroy_actor 28@ 
0002: jump @Noname_340 

:Noname_271
0001: wait 0 ms 
00D6: if or
056E:   car $4 defined 
056E:   car $4 defined 
004D: jump_if_false @Noname_340 
004D: jump_if_false @Noname_271 

:Noname_303
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 50.0 0.0 5.0 
02C1: store_to 1@ 2@ 3@ car_path_coords_closest_to 1@ 2@ 3@ 
00A5: $4 = create_car #FCR900 at 1@ 2@ 3@ 

:Noname_340
//Marker.CreateAboveCar(0@, $4)
//Marker.CreateAboveCar(0@,$4)
//018B: set_marker 0@ radar_mode 2
//Marker.SetColor(0@,3)  // List of colors: 0= red 1= green 2= light blue 3= white 4= light yellow
//0705: car $4 assign_to_path 342 and_drive_normal 
0229: set_car $4 primary_color_to 1 secondary_color_to 1 
0AC1: $5 = load_audiostream_with_3d_support "CLEO\SOUNDBASE\Luigi.wav" // IF and SET 
0AC0: audiostream $5 loop 1 
0AC5: link_3d_audiostream $5 to_vehicle $4 
0AAD: set_mp3 $5 perform_action 1 
0AC1: $6 = load_audiostream_with_3d_support "CLEO\SOUNDBASE\Luigidead.wav" // IF and SET 
//0AAC: $6 = load_audiostream "CLEO\SOUNDBASE\Luigidead.wav" 
0224: set_car $4 health_to 5000 
00A8: set_car $4 to_psycho_driver 
00A9: set_car $4 to_normal_driver 
020A: set_car $4 door_status_to 1 
00AE: set_car $4 traffic_behaviour_to 2 
00AF: set_car $4 driver_behaviour_to 1 
00AE: set_car $4 traffic_behaviour_to 2 
00AD: set_car $4 max_speed_to 100.0 
0ABE:   vehicle $4 engine_on 
0AC5: link_3d_audiostream $6 to_vehicle $4 

:Noname_507
0001: wait 0 ms 
04C4: store_coords_to 14@ 15@ 16@ from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0 
00A7: car $4 drive_to 14@ 15@ 16@ 
//00D6: if or
//0119:   car $4 wrecked 
//02BF:   car $4 sunk 
//004D: jump_if_false @Noname_599 
//004D: jump_if_false @Noname_507 
//0AAE: release_mp3 $5 
//Marker.Disable(0@)
//00A6: destroy_car $4 
0002: jump @Noname_599                                  

:Noname_599
0001: wait 0 ms 
00D6: if or
0202:   actor $PLAYER_ACTOR near_car $4 radius 5.0 5.0 sphere 0 
0119:   car $4 wrecked 
02BF:   car $4 sunk 
004D: jump_if_false @Noname_507 
004D: jump_if_false @Noname_599 
0001: wait 0 ms 
0AAE: release_mp3 $5 
//Marker.Disable(0@)
0AAD: set_mp3 $6 perform_action 1 

020B: explode_car $4 
wait 5000

00D6: if 
0119:   car $4 wrecked 
004D: jump_if_false @Noname_599 
0AAD: set_mp3 $6 perform_action 1 
00A6: destroy_car $4 
0002: jump @Noname_303 
